Technical annex about patches 

Introduction

The patch management is used to integrate the elements of the dictionary from an archive, respecting the following :

This signifies that once an element is patched, certain fields in this element are no longer modifiable by patch. The only solution, if it is absolutely necessary to modify an element, is to then patch a process modifying the data and to execute it in sequence (which is possible via the element type EXE).

Finally it should be noted :

That being said, following this, for each element type affected, the list of the fields that are not updated by the patch during an update will be found.

General rules

The patch tool is used to patch:

Patch for the actions

The SPETRT field (specific/custom processing) is not updated by a standard patch. It is only updated by a custom/specific patch.

Patch for the activity codes

The activity codes are patched in the ACTIV table and are also created in the parameters for each folder (ADOSACT table) with the status in which they are shipped (active or not according to the case). This does not lead however to the revalidation of the folders in question.

Patch for the miscellaneous tables

The setup of the miscellaneous tables (ADOSACT table) can be patched both on creation and update. The access code fields (ACS),  length of the code (LNG), dependence table (DEPNUM), titles (LNGDES and SHODES) are not updated.

On integration of the patch containing a miscellaneous table (ATABDIV table), the lines are updated without restriction.

Patch for the setups

Only the access code field (ACS) is not updated.

Patch for the screens

When the patch is of type standard, the custom/specific and vertical actions (SPE,SPV, action code >=X) are always kept, as well as the custom/specific (TRTSPE) and vertical (TRTSPV) processing.

In order to delete or modify the custom/specific actions (SPE), or the custom/specific processing (TRTSPE), the patch must be of custom/specific type. In order to delete or modify the vertical actions (SPV), or the vertical processing (TRTSPV), the patch must be of type vertical.

In addition, the following fields are considered as non updated setup in the case of a patch integrated on an existing screen :

SEEINFO Of course, the sections and lines protected by an activity code are not affected.

The help keywords are applied, except if the patch is custom/specific and if the said keywords begin with X,Y, or Z.

Patch for the windows

The custom/specific screens included in a window are not affected upon update (except if the activity code protecting them is referenced in the patch).

Patch for the objects

The following fields, considered as setup, are not updated in the case of a patch for an object that exists already : SELCLE (index), SELORD (order), SELTREE (hierarchy list), SELCAR (number of characters for selection), RPT1, RPT2 (associated reports), LIBSHO (short title), STA (statistics). The grids opened in custom/specific mode are also kept (except if the activity code protecting them is referenced in the patch).

The SPETRT field (specific/custom processing) is not updated by a standard patch. It is only updated by a custom/specific patch.

The SPVTRT field (vertical processing) is not updated by a standard patch. It is only updated by a vertical patch.

Patch for the reports

The following fields, considered as setup, are not updated in the case of a patch for a report (dictionary) that exists already : GRP (group), ACS (access code), PRTNAT (type of destination), PRTDEF(destination by default), PRTOBL (mandatory destination flag), PRTFRM (destination formula), ENAFLG (active flag), PARSEG (segmentation setup), EXEBAT (batch execution flag), HOR (time constraint).

The SPETRT field (specific/custom processing) is not updated by a standard patch. It is only updated by a custom/specific patch.

The SPVTRT field (vertical processing) is not updated by a standard patch. It is only updated by a vertical patch.

Patch for the tables

In case of a patch on an existing table structure (ATB), following elements are not updated:

Patch for the inquiries

Only the PRGSPE field (specific/custom field) is not updated except on custom/specific patch.

Patch for the purging formulas

The EPU, TIM1, TIM2, FRQ1, FRQ2, DAT1, DAT2 fields are not updated in the case of a patch for a purging formula (that is the rules and frequencies of the purging and archiving). The field ENAFLG (active flag) is also kept.

The SPETRT field (specific/custom processing) is not updated by a standard patch. It is only updated by a custom/specific patch.

Patch for the navigations

Only the ENAFLG (active flag) is not updated.

Import/export template patch:

Only the CHRNUM field (export chrono number) is not updated.

BI module element patch

The following fields, considered as setup, are not updated in the case of a patch: